#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include<assert.h>

typedef int STDateType;

typedef struct Stack{
	STDateType* a;
	size_t top;
	size_t capacity;
}ST;

void STInit(ST* st);
void Destroy(ST* st);

void Push(ST* st, STDateType x);
void Pop(ST* st);

STDateType Top(ST* st);
